package com.wxapp.common.constant.constant;

import com.wxapp.common.constant.properties.CatchCommonProperties;

/**
 * @author lgl
 * @Description 登录常用参数
 * @Datetime 2022/1/11 11:41
 * @Modified By
 */
public class LoginConstant {
    private static final String BASE="ADMIN:LOGIN:";
    /**
     * 权限key
     */
    public static final String PERMISSION_LIST = BASE+"USER:PERMISSION:";

    public static String CUSTOM_OPENID= BASE+"CUSTOM:OPENID:";

    public static String MENU_TRESS= BASE+"MENU:TRESS:";
    /**
     * 外部权限key
     */
    public static final String TOKEN_KEY = "WXToken";
    /**
     * 外部权限key
     */
    public static final String REFRESH_TOKEN_KEY = "RWXToken";
    /**
     * 内部权限key
     */
    public static final String INTERNAL_TOKEN_KEY = "internal_token";
    /**
     * 内部权限key
     */
    public static final String CLIENT = "client";
    /**
     * 权限perssion
     */
    public static final String PERMISSION = "permission";

    public static final String USER_TITLE = "user";

    public static final String LOGIN_LIMIT = CatchCommonProperties.name+":"+CatchCommonProperties.value+":";
}
